package com.binance.assetservice.data.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.binance.assetservice.data.models.WidgetPortfolioItem;
import com.binance.master.old.config.OldDB;

@OldDB
public interface WidgetPortfolioItemMapper {

    public List<WidgetPortfolioItem> getPortfolios(@Param("userId") String userId);

    public int deletePortfolio(@Param("userId") String userId);

    void addPortfolio(WidgetPortfolioItem item);

//    void updateProtfolio(PortfolioItem item);
//
//    public Long getFollowNum(@Param("symbol") String symbol);
//
//    public Integer getLastSequence(@Param("userId") String userId);
}
